<?php 
/* 
* @package TDE Newsletter
* @version: 1.0 
* @last modified: 10:28 AM 06/15/2007
* http://www.topdreamweaverextensions.com
*/
  require_once "./../config.php";
  require_once "./language/".ADMIN_LANGUAGE.".inc.php";
  
  
  session_register ("session_username");
  $_SESSION["session_username"] = "";
  
  if ($_POST["password"] == ACCESS_PASSWORD) 
  {  
      $_SESSION["session_username"] = md5(ACCESS_PASSWORD);
      header("Location: contents.php");
  } 
 
?>
<HTML xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE><?php echo ALL_MSG_SYSTEM_HTML_TITLE; ?></TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<STYLE type=text/css>@import url( styles/tdenewsletter.css );
</STYLE>
<?php require "./template/top.inc.php" ?>
<script language="JavaScript">
		   function validate()
		   {   init_validate();
		     //  isRequired('username','<?php echo LOGIN_MSG_USERNAME; ?>');
		       isRequired('password','<?php echo ALL_MSG_PASSWORD; ?>');
		       return allok();
		   }
		  </script>
<META content="MSHTML 6.00.2800.1106" name=GENERATOR></HEAD>
<BODY>
<DIV id=pagecontainer>
<DIV id=masthead>
<DIV id=logo><IMG height=107 
alt="<?php echo ALL_MSG_SYSTEM_FULLNAME; ?>" 
src="/images//logo.jpg" 
border=0></DIV>
<DIV id=intro>
<?php echo ALL_MSG_SYSTEM_NAME;?> &nbsp;<br /><?php echo ALL_MSG_SYSTEM_HTML_TITLE2; ?> &nbsp;<br />
<?php echo ALL_MSG_SYSTEM_COPY1; ?> &nbsp;<br>
<?php echo ALL_MSG_SYSTEM_COPY2; ?> &nbsp;<br>
<?php echo ALL_MSG_SYSTEM_VERSION; ?> &nbsp;
</P></DIV></DIV>
<DIV id=content>
<DIV class=story>

<DIV class=loginbox>
<H5>&nbsp;</H5>
<P><?php echo LOGIN_MSG_HELP_TEXT_LOGIN; ?></P>
<P class=error><?php echo $showMessage;?></P>

<form action="index.php" method="post" name="FormEdit" id="FormEdit" onSubmit="return validate();">

 <TABLE cellSpacing=0 cellPadding=5 width="100%" border=0>
  <TBODY>
  <TR>
    <TD align=right><?php echo ALL_MSG_PASSWORD; ?></TD>
    <TD align=left><INPUT class=boxes type=password name=password></TD></TR>
  <TR>
    <TD align=left></TD>
    <TD 
    align=right><INPUT class=buttons type=submit value="<?php echo LOGIN_MSG_ENTER; ?>" name=Submit></TD></TR></TBODY></TABLE></FORM>
    </DIV>
 
    </DIV></DIV>
<DIV id=footer>
<P><a href="http://www.topdreamweaverextensions.com">Top Dreamweaver Extensions</a>
</P></DIV></DIV></BODY></HTML>
